package novel.mzx.com.adapter;

import android.content.Context;

import com.zhy.adapter.recyclerview.CommonAdapter;
import com.zhy.adapter.recyclerview.base.ViewHolder;

import java.util.List;

import novel.mzx.com.R;
import novel.mzx.com.bean.ScoreBean;

public class MarkAdapter2 extends CommonAdapter<ScoreBean.Data> {
    Context mContext;

    public MarkAdapter2(Context context, int layoutId, List<ScoreBean.Data> datas) {
        super(context, layoutId, datas);

        mContext = context;

    }

    @Override
    protected void convert(ViewHolder holder, final ScoreBean.Data s, int position) {


        holder.setText(R.id.tv_choose,s.getScoreName());
        holder.setText(R.id.tv_01,s.getScoreResult()+"分");


    }

}
